package cn.wolfcode.wolf2w.repository;

import cn.wolfcode.wolf2w.domain.Visit;
import org.springframework.data.mongodb.repository.MongoRepository;

/**
 * 连接MongoDB了实现功能的接口
 */
public interface VisitRepository extends MongoRepository<Visit,String> {

    //通过传过来的id查询窝
    Visit findByOwnerId(String wid);
}
